go/types.TypeParamList.list (method)
24 uses
go/types (current package)
alias.go#L168: rhs := check.subst(pos, orig.fromRHS, makeSubstMap(orig.TypeParams().list(), targs), expanding, ctxt)
call.go#L111: tparams, params2 := check.renameTParams(pos, sig.TypeParams().list(), NewTuple(params...))
call.go#L156: tparams := typ.TypeParams().list()
call.go#L328: if x.mode == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ) {
call.go#L559: tparams, tmp = check.renameTParams(call.Pos(), sig.TypeParams().list(), sigParams)
call.go#L585: atparams, tmp := check.renameTParams(call.Pos(), asig.TypeParams().list(), asig)
instantiate.go#L63: tparams := orig_.TypeParams().list()
instantiate.go#L166: sig := check.subst(pos, orig, makeSubstMap(tparams.list(), targs), nil, ctxt).(*Signature)
named.go#L425: smap := makeSubstMap(origSig.RecvTypeParams().list(), t.inst.targs.list())
named.go#L639: check.trace(n.obj.pos, "=> %s (tparams = %s, under = %s)", n, n.tparams.list(), n.underlying)
named.go#L668: smap := makeSubstMap(orig.tparams.list(), targs.list())
object.go#L581: newTypeWriter(buf, qf).tParamList(t.TypeParams().list())
predicates.go#L357: xtparams := x.TypeParams().list()
predicates.go#L358: ytparams := y.TypeParams().list()
signature.go#L242: baseTParams := baseType.TypeParams().list()
typelists.go#L15: func (l *TypeParamList) Len() int { return len(l.list()) }
typelists.go#L23: func (l *TypeParamList) list() []*TypeParam {
typestring.go#L306: w.tParamList(t.TypeParams().list())
typestring.go#L314: if i := slices.Index(w.tparams.list(), t); i >= 0 {
typestring.go#L346: w.tParamList(t.TypeParams().list())
typestring.go#L485: w.tParamList(sig.TypeParams().list())
typexpr.go#L486: tparams := inst.TypeParams().list()
typexpr.go#L489: if i, err := check.verify(ix.Pos(), inst.TypeParams().list(), targs, check.context()); err != nil {
validtype.go#L168: for i, tparam := range inst.TypeParams().list() {